public class ElectricVehicle extends Vehicle{
    public String name;
    public String color;

    public ElectricVehicle(String name, String color) {
        super(name, color);
    }

    public void work() {
        System.out.println("电动车正在行驶...");
    }
    public void withoutWork() {
        System.out.println("电动车正在充电...");
    }
}
